import _fetch from "./request";
function getQuestioinList(params) {
  return _fetch({
    url: "/question/list",
    params,
  });
}
function questionAdd(data) {
  return _fetch({
    url: "/question/add",
    method: "post",
    data,
  });
}
function questionEdit(data) {
  return _fetch({
    url: "/question/edit",
    method: "post",
    data,
  });
}
function questionStatus(data) {
  return _fetch({
    url: "/question/status",
    method: "post",
    data,
  });
}
function questionRemove(data) {
  return _fetch({
    url: "/question/remove",
    method: "post",
    data,
  });
}
export {
  getQuestioinList,
  questionAdd,
  questionEdit,
  questionStatus,
  questionRemove,
};
